home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 November / macformat-018.iso / Utility Spectacular / Developer / macgambit-20-compiler-src-p1 / Runtime (.c & .h) / mem.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-26  |  992 b   |  27 lines  |  [TEXT/KAHL]

  1. #ifdef __STDC__
  2. #define DEFINE_C_PROC(name) define_c_proc( #name, (long)name )
  3. #else
  4. #define DEFINE_C_PROC(name) define_c_proc( "name", (long)name )
  5. #endif
  6.  
  7. extern void init_system_mem( /* cont */ );
  8. extern long alloc_const_proc( /* len, name, obj */ );
  9. extern long alloc_const_pair( /* obj */ );
  10. extern long alloc_const_subtyped( /* len, subtype, obj */ );
  11. extern long alloc_const_vector( /* len, obj */ );
  12. extern long alloc_const_string( /* str, obj */ );
  13. extern void define_c_proc( /* name, adr */ );
  14.  
  15. extern void init_processor_mem( /* cont */ );
  16. extern long alloc_pair( /* obj */ );
  17. extern long alloc_subtyped( /* len, subtype, obj */ );
  18. extern long alloc_vector( /* len, obj */ );
  19. extern long alloc_symbol( /* name, obj */ );
  20. extern long alloc_global( /* name, index */ );
  21. extern long alloc_global_from_symbol( /* sym, index */ );
  22. extern long set_global( /* name, value */ );
  23.  
  24. extern char *local_malloc8( /* len */ );
  25. extern char *local_mark();
  26. extern void local_release( /* mark */ );
  27.